54da6d7ee51b527fd87df5eb92283c9c72c9f29a,devops-steps/src/main/java/io/fabric8/workflow/devops/ApproveRequestedEventStepExecution.java,ApproveRequestedEventStepExecution,run,#,44
Before Change
String json = mapper.writeValueAsString(approval);
String id = ElasticsearchClient.createEvent(json, ElasticsearchClient.APPROVE, listener);
if (Strings.isNullOrBlank(id)){
throw new AbortException("Error creating Approve event in elasticsearch");
}
After Change
String json = mapper.writeValueAsString(approval);
return ElasticsearchClient.createEvent(json, ElasticsearchClient.APPROVE, listener);
}
}